home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Found / FWString / FWTxtTyp.xh < prev    next >
Encoding:
Text File  |  1996-09-16  |  1.7 KB  |  77 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: FWTxtTyp.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxh.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_Module_ODFStringSubsystemTypes_defined
  11. #define SOM_Module_ODFStringSubsystemTypes_defined 1
  12. #include <som.xh>
  13.  
  14. /*
  15.  * Start of user-defined types:
  16.  */
  17. class SOMClass;
  18. class SOMObject;
  19. typedef
  20. char  FW_Char;
  21. typedef
  22. unsigned short  FW_LChar;
  23. typedef
  24. octet  FW_PascalChar;
  25. typedef
  26. octet  FW_Byte;
  27. typedef
  28. long  FW_CharacterCount;
  29. typedef
  30. long  FW_CharacterPosition;
  31. typedef
  32. long  FW_ByteCount;
  33. typedef
  34. long  FW_BytePosition;
  35. typedef
  36. short  FW_StringCompareResult;
  37. typedef
  38. short  FW_FindDirection;
  39.  
  40. /*
  41.  * -- Share exact same alignment between 68k & PowerPC.
  42.  * -- User to add padding to idl as desired for better alignment.
  43.  */
  44. #if powerc
  45. #  pragma options align=mac68k
  46. #endif
  47. typedef
  48. struct FW_Locale {
  49. short  fScriptCode;
  50. short  fLangCode;
  51. } FW_Locale;
  52. #if powerc
  53. #  pragma options align=reset
  54. #endif
  55. #define FW_kStringOneLess -1 /* -1 */
  56. #define FW_kStringsEqual 0 /* 0 */
  57. #define FW_kStringOneGreater 1 /* 1 */
  58. #define FW_kForwards 0 /* 0 */
  59. #define FW_kBackwards 1 /* 1 */
  60. #define ODFStringSubsystemTypes_ODF_TxtTyp_Version "1.0."
  61.  
  62. #ifndef SOM_DONT_USE_SHORT_NAMES
  63. #ifndef SOMTGD_ODF_TxtTyp_Version
  64.     #ifdef ODF_TxtTyp_Version
  65.         #undef ODF_TxtTyp_Version
  66.         #define SOMTGD_ODF_TxtTyp_Version 1
  67.     #else
  68.         #define ODF_TxtTyp_Version ODFStringSubsystemTypes_ODF_TxtTyp_Version
  69.     #endif /* ODF_TxtTyp_Version */
  70. #endif /* SOMTGD_ODF_TxtTyp_Version */
  71. #endif /* SOM_DONT_USE_SHORT_NAMES */
  72.  
  73. /*
  74.  * End of user-defined types.
  75.  */
  76. #endif /* SOM_Module_ODFStringSubsystemTypes_defined */
  77.